@import "./sign-skin.css";
@import "./sign-dialog.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
html, body {
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    background: var(--skin-main-bg-color);
    font-size: 0.30rem;
}
body {
    padding: 0.15rem;
    display: flex;
    flex-direction: column;
}
.yy-screen-header {
    flex: 0 0 0.80rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--skin-header-bg-color);
    border-radius: 4px;
    color: var(--skin-header-color);
    padding: 0.15rem;
}
.yy-screen-header_customer, .yy-screen-header_title, .yy-screen-header_time {
    flex: 1;
    display: inline-flex;
    min-width: 0;
}
.yy-screen-header_customer {
    justify-content: flex-start;
}
.yy-screen-header_title {
    justify-content: center;
    font-size: 0.40rem;
}
.yy-screen-header_time {
    justify-content: flex-end;
}
.yy-screen-content {
    flex: 1;
    min-height: 0;
    margin: 0.15rem 0;
    border: 0.15rem solid var(--skin-background-color);
    border-radius: 4px;
    color: var(--skin-color);
    padding: 0.30rem;
}
.yy-screen-content_card {
    height: 100%;
    border-radius: 4px;
}
.yy-screen-content_card-img {
    display: flex;
    width: 100%;
    height: 60%;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}
.yy-screen-content_card-input {
    margin-top: 0.30rem;
    height: 0.40rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.yy-screen-content_card-input-ctrl {
    display: inline-flex;
    flex: 1;
}
.yy-screen-content_card-input-label {
    display: inline-flex;
    background: var(--skin-background-color);
    padding: 0.10rem;
    justify-content: center;
    align-items: center;
    height: 0.80rem;
    flex: 0 0 1.20rem;
}
.yy-screen-content_card-input-input {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--skin-main-bg-color);
    padding: 0.10rem;
    height: 0.80rem;
    font-size: 0.32rem;
    color: var(--skin-color);
    outline: 0;
}

.yy-screen-content_card-input-button {
    width: 100%;
    margin-top: 0.20rem;
}
.yy-screen-content_card-input-button button{
    display: inline-block;
    width: 100%;
    height: 0.80rem;
    line-height: 0.40rem;
    background-color: var(--skin-footer-button-bg-color);
    color: var(--skin-footer-button-color);
    white-space: nowrap;
    text-align: center;
    font-size: 0.40rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.yy-screen-content_card-input-button button:hover {
    opacity: .8;
    filter: alpha(opacity = 80);
    color: #fff;
}
.yy-screen-content_card-input-button button:active {
    opacity: 1;
    filter: alpha(opacity = 100);
}

.yy-screen-footer {
    flex: 0 0 0.60rem;
    background: var(--skin-footer-bg-color);
    border-radius: 4px;
    color: var(--skin-footer-color);
    padding: 0.05rem;
    display: flex;
}
.yy-screen-footer_company {
    flex: 0 0 2rem;
}
.yy-screen-footer_text {
    flex: 1;
    min-width: 0;
    padding: 0.15rem;
    display: inline-flex;
    align-items: center;
}

.marquee {
    overflow: hidden;
    width: 100%; /* 设置滚动容器的宽度 */
    position: relative; /* 为了使用绝对定位 */
}
.marquee pre{
    white-space: nowrap;
    display: inline-block;
    animation: marquee 60s linear infinite;
    animation-delay: -60s;
    padding-left: 100%;
}

.marquee pre:nth-child(2) {
    animation: marquee-two 60s linear infinite;
    animation-delay: -30s;
}

/* 定义关键帧动画 */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
@keyframes marquee-two {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-200%);
    }
}